package com.topvision.service.api.user;

import com.topvision.model.hes.HesUser;

import java.util.Map;


public interface UserService {


    int insert(HesUser record) throws Exception;

    int insertSelective(HesUser record) throws Exception;

    HesUser getUserByJobNumber(String jobNumber) throws Exception;

    HesUser Login(String username, String password) throws Exception;

    Map<String, Object> getPersonnelMattersStatus(String jobNumber) throws Exception;

    int updatePasswordByJobNumber(String jobNumber, String password);

    int update(HesUser user)throws Exception;

    int updateInfoByJobNumber(Map<String, Object> params);

    int changeGrant(HesUser user) throws Exception;

    HesUser getUserByUserName(String username);
}
